package com.cnplan.core;


public class TestUtil {
    public static void main(String[] args) {
        TestUtil testUtil=new TestUtil();
        testUtil.resourcePath();
    }

    public void resourcePath() {
//        String path=this.getClass().getResource("db.properties").getPath();
        System.out.println(TestUtil.class.getClassLoader().getResource("/").getPath().replace("classes", "templates"));
    }

}
